<template>
  <div>
    <el-table
      :data="eventList"
      stripe
      border
      style="width: 100%;"
      height="300"
      @row-click="rowClick"
    >
      <el-table-column prop="ACCEPTANCE_NO" label="受理编号" width="180" fixed>
      </el-table-column>
      <el-table-column prop="INCOMING_CALL_NUMBER" label="来电号码" width="180">
      </el-table-column>
      <el-table-column prop="CALL_TIME" label="呼叫时间" width="180">
      </el-table-column>
      <el-table-column prop="DISEASE" label="病情" width="180"> </el-table-column>
      <el-table-column prop="TOWN" label="市镇" width="180"> </el-table-column>
      <el-table-column prop="DISTRICT_STREET" label="街区" width="180">
      </el-table-column>
      <el-table-column prop="LATITUDE" label="经度" width="180">
      </el-table-column>
      <el-table-column prop="LONGITUDE" label="纬度" width="180">
      </el-table-column>
       <el-table-column prop="ORG_NAME" label="出诊单位" width="180">
      </el-table-column>
       <el-table-column prop="REASSIGNMENT_ORG_NAME" label="改派单位" width="180">
      </el-table-column>
       <el-table-column prop="SPEED" label="速度" width="180">
      </el-table-column>
       <el-table-column prop="DIRECTION" label="方向" width="180">
      </el-table-column>
       <el-table-column prop="MILEAGE" label="行驶里程" width="180">
      </el-table-column>
    </el-table>
  </div>
</template>
<script>
import { selectEventInfoList } from "@/api/emergencyDispatch/emergencyDispatch.js";
export default {
  components: {},
  data() {
    return {
      eventList: [],
    };
  },
  computed: {},
  created() {
    this.getSelectEventInfoList();
  },
  methods: {
    getSelectEventInfoList(data = {}) {
      selectEventInfoList(data).then((res) => {
        this.eventList = res.result;
      });
    },
    rowClick(row){
       this.$emit('eventInfo',row)
    },
  },
};
</script>
<style scoped lang='scss'>
</style>
